import moment from 'moment'
let BASE_API = "";
let PATH_IMG = "";
let WEBSOCKET_API = "";
let APP_VERSION_ID = 202212261700
let ENV = 'local'
// let ENV = 'dev'
// let ENV = 'test'
// let ENV = 'prod'



if(process.env.NODE_ENV === 'development'){
	if(ENV === 'local') {
		WEBSOCKET_API = 'ws://127.0.0.1:7070';					 	//Websocket地址
		BASE_API = 'http://127.0.0.1:7070'; 				 	//接口地址测试
	 }
	
}else{
	//  打包
	if(ENV === 'local') {
		WEBSOCKET_API = 'ws://192.168.2.118:8211';					 	//Websocket地址
		BASE_API = 'http://192.168.2.118:7071'; 					 	//接口地址测试
 
	 }
}

export {PATH_IMG,BASE_API,WEBSOCKET_API,APP_VERSION_ID}
